<!DOCTYPE html>
<!-- saved from url=(0049)http://c.tsz90.com/home/mytask/mytaskadmin/id/612 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <title>管理中心</title>
        <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
        <meta content="yes" name="apple-mobile-web-app-capable">
        <meta content="black" name="apple-mobile-web-app-status-bar-style">
        <meta content="telephone=no" name="format-detection">
		<link rel="stylesheet" href="__PUBLIC__/static/css/renwu/bootstrap.css">

        <link href="__PUBLIC__/static/css/renwu/mytaskadmin.css" rel="stylesheet" type="text/css">
	
    <link rel="stylesheet" href="__PUBLIC__/static/css/renwu/layer.css" id="layuicss-layer"></head>
    <body>
       
        <section class="aui-flexView">
            <header class="aui-navBar aui-navBar-fixed">
                <a onclick="history.back()" class="aui-navBar-item">
                    <i class="icon icon-return"><img src="__PUBLIC__/static/upload/renwu/icon_back.png" alt=""></i>
                </a>
                <div class="aui-center">
                    <span class="aui-center-title">管理中心</span>
                </div>
                <a href="javascript:;" class="aui-navBar-item">
                    <i class="icon icon-sys"></i>
                </a>
            </header>
            <section class="aui-scrollView">
                <div class="aui-well-comm b-line">
                    <div class="aui-well-comm-hd">
                        <img src="__PUBLIC__/static/upload/renwu/33a8a7ee752d32821834e59842c256ad.png" alt="">
                    </div>
                    <div class="aui-well-comm-bd">
                        <h4>
                            <span onclick="window.location.href=&#39;/home/task/detail/id/612&#39;">[投票浏览] <?php echo $res['pro_name'] ?></span>
                            <span>
                                <i><a href="update?id=<?php echo $res['id'] ?>" style="background:#989898;color:#fff;padding:4px;">修改任务</a></i>
                            </span>
                        </h4>
                        <p onclick="window.location.href=&#39;/home/task/detail/id/612&#39;"><?php echo $res['title'] ?></p>
                        <p class="aui-education">提示：置顶可以增加曝光哦。</p>
                    </div>
                </div>
                <div class="aui-palace clearfix ">
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">0                        </div>
                        <div class="aui-palace-grid-text">
                            <h2>已经通过</h2>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">0
                        </div>
                        <div class="aui-palace-grid-text">
                            <h2>进行当中</h2>
                        </div>
                    </a>
					<a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">0
                        </div>
                        <div class="aui-palace-grid-text">
                            <h2>失败次数</h2>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">1                        </div>
                        <div class="aui-palace-grid-text">
                            <h2>浏览次数</h2>
                        </div>
                    </a>
                </div>

				<div class="aui-palace clearfix ">
                    <a class="aui-palace-grid2">
                        <div class="aui-palace-grid-icon"><span style="color:#666">剩余名额:</span><?php echo $res['ticket_num'] ?>个
                        </div>
                        <div class="aui-palace-grid-text">
							<img src="__PUBLIC__/static/upload/renwu/jiajia.png" width="20" id="setname" data-id="<?php echo $res['id'] ?>">
                        </div>
                    </a>
                    <a class="aui-palace-grid2">
                        <div class="aui-palace-grid-icon"><span style="color:#666">悬赏金额:</span><?php echo $res['unit_price'] ?>元
                        </div>
                        <div class="aui-palace-grid-text">
                            <img src="__PUBLIC__/static/upload/renwu/jiajia.png" width="20" id="setjiage" data-id="<?php echo $res['id'] ?>">
                        </div>
                    </a>
                </div>
                <div class="divHeight"></div>
			


				<div class="aui-palace clearfix ">
                    <a class="aui-palace-grid2">
                        <div class="aui-palace-grid-icon"><center><img src="__PUBLIC__/static/upload/renwu/icon_load.png" style="width:30px;padding:2px;" id="setTop612" onclick="setTop(612)"></center>
                        </div>
                        <div class="aui-palace-grid-text">
							<span style="color:#666">置顶推荐</span>
                        </div>
                    </a>
                    <a class="aui-palace-grid2">
                       <div class="aui-palace-grid-icon"><center><img src="__PUBLIC__/static/upload/renwu/icon02.png" style="width:25px;padding:2px;" id="setHongbao612" onclick="setHongbao(612)"></center>
                        </div>
                        <div class="aui-palace-grid-text">
							<span style="color:#666">悬赏红包</span>
                        </div>
                    </a>
                </div>
               
                <!-- <div class="aui-palace aui-palace-clear clearfix ">
                    <a href="javascript:;" class="aui-palace-grid">
                        <i class="icon icon-iphone"></i>
                        手机
                    
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <i class="icon icon-wx"></i>
                        微信
                    
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <i class="icon icon-qq"></i>
                        QQ
                    
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <i class="icon icon-zm"></i>
                        芝麻
                    
                    </a>
                </div> -->
               
                
            </section>
        </section> 
    
<!-- 弹出层 -->
<link rel="stylesheet" href="__PUBLIC__/static/css/renwu/dialog.css">
<script src="__PUBLIC__/static/js/renwu/jquery-2.0.3.min.js"></script>
<script src="__PUBLIC__/static/js/renwu/dialog.js"></script>
<!-- 弹出层 -->
<script type="text/javascript" src="__PUBLIC__/static/js/renwu/clipboard.min.js"></script>
<!-- <script type="text/javascript" src="__PUBLIC__/static/js/renwu/global.js"></script> -->


<script type="text/javascript" src="__PUBLIC__/static/js/renwu/bootstrap.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/renwu/bootbox.min.js"></script>

<!-- <script type="text/javascript" src="__PUBLIC__/static/js/renwu/mytask.js"></script> -->

<script type="text/javascript" src="__PUBLIC__/static/js/renwu/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/renwu/layer.js"></script>
<script type="text/javascript">
var $setting_top_fee = '2';
var $setting_top_max_hour = '300';
</script>

 </body></html>
 <script>
$(document).on('click','#setname',function(){
    var judge = prompt("请输入数量");
    var id=$(this).attr('data-id');
    $.ajax({
        url:'amount',
        data:{
            id: id,
            hour: judge
        },
        success:function(e){
            var json=JSON.parse(e);
            if(json.code == 0){
                // message(json.msg);
                // alert(json.msg);
                location.reload();
            }else{
                // message(json.msg);
                alert(json.msg);
                location.reload();
            }
        }
    })
})
$(document).on('click','#setjiage',function(){
    var judge = prompt("请输入金额");
    var id=$(this).attr('data-id');
    $.ajax({
        url:'jine',
        data:{
            id: id,
            hour: judge
        },
        success:function(e){
            var json=JSON.parse(e);
            if(json.code == 0){
                // message(json.msg);
                // alert(json.msg);
                location.reload();
            }else{
                // message(json.msg);
                alert(json.msg);
                location.reload();
            }
        }
    })
})
 </script> 
